package cc.messcat.entity.fupin;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

import org.hibernate.annotations.NotFound;
import org.hibernate.annotations.NotFoundAction;

import cc.messcat.entity.area.Area;

/**
 * 贫困村
 *
 * @author Administrator
 */
@Entity
@Table(name = "poor_village")
public class PoorVillage implements Serializable{
	private static final long serialVersionUID = 3623696736164156962L;
	@Id
    @GeneratedValue
    private Long id;
    /**
     * 基本情况
     */
    @Column(name = "PROVINCE")
    private String province; //省
    @Column(name = "CITY")
    private String city;  //市
    @Column(name = "CTY")
    private String cty;//县
    @Column(name = "CRY")
    private String cry;//乡
    @Column(name = "VILLAGE")
    private String village; //村名称
    @Column(name = "CODE")
    private String code;//村编码(行政区划)
    @Column(name = "NAME")
    private String name;//村-（居委会名称）
    @Column(name = "GROUP_NUMBER")
    private String groupNumber;//组号
    @Column(name = "NATURALS")
    private String naturals;//自然村
    @Column(name = "FPEOPLE")
    private String fpeople;//负责人
    @Column(name = "POST")
    private String post;//职务
    @Column(name = "CONTACT")
    private String contact;//联系方式
    @Column(name = "NATURE")
    private String nature;//村属性
    @Column(name = "DEVELOPMENT")
    private String development;//发展方向
    @Column(name = "Terrain")
    private String terrain;//地形地貌
    @Column(name = "PARTY")
    private String party;//中共党员数
    @Column(name = "OFFICER")
    private String officer;//村官人数
    /**
     * 土地信息
     */
    @Column(name = "CUED_LAND")
    private String cuedLand;//耕地面积（亩）
    @Column(name = "IRRIGATION")
    private String irrigation;//有效灌溉面积（亩）
    @Column(name = "WOOD_LAND")
    private String woodLand;//林地面积（亩）
    @Column(name = "FARM_LAND")
    private String farmLand;//退耕还林面积（亩）
    @Column(name = "FRUIT")
    private String fruit;//林果面积（亩）
    @Column(name = "FORA_GEGRASS")
    private String forageGrass;//牧草地面积（亩）
    @Column(name = "WATERS")
    private String waters;//水域面积（亩）
    /**
     * 人口信息
     */
    @Column(name = "TOTAL")
    private String total;//总户数
    @Column(name = "POOR")
    private String poor;//贫困户数
    @Column(name = "NATL_NUMBER")
    private String natlNumber;//自然村数
    @Column(name = "LOW_HOUSE")
    private String lowHouse;//低保户数
    @Column(name = "FIVE_HOUSE")
    private String fiveHouse;//五保户数
    @Column(name = "TOTAL_NUMBER")
    private String totalNumber;//总人口数
    @Column(name = "POOR_NUMBER")
    private String poorNumber;//贫困人口数
    @Column(name = "LOW_NUMBER")
    private String lowNumber;//低保人口数
    @Column(name = "FIVE_NUMBER")
    private String fiveNumber;//五保人口数
    @Column(name = "LESS_NUMBER")
    private String lessNumber;//少数民族人口数
    @Column(name = "WOMAN_NUMBER")
    private String womanNumber;//妇女人口数
    @Column(name = "REMNANT_NUMBER")
    private String remnantNumber;//残疾人口数
    @Column(name = "LABOUR_NUMBER")
    private String labourNumber;//劳动力数
    @Column(name = "GOOUT_NUMBER")
    private String gooutNumber;//外出务工人数
    /**
     * 生产生活条件
     */
    @Column(name = "DISTANCE")
    private String distance;//到行政村距离（公里）
    @Column(name = "ROAD")
    private String road;//到行政村是否通沥青路
    @Column(name = "ELECTRICS")
    private String electrics;//是否生产用电
    @Column(name = "LIFES")
    private String lifes;//是否通生活用电
    @Column(name = "BROADBANDS")
    private String broadbands;//是否通宽带
    /**
     * 收入信息
     */
    @Column(name = "FARMER")
    private String farmer;//农民人均纯收入（元）
    @Column(name = "COLLECTIVE")
    private String collective;//村级集体经济收入（万元）
    /**
     * 社会保障信息
     */
    @Column(name = "MEDICAL")
    private String medical;//参加新型农村合作医疗人数（人）
    @Column(name = "TOWN_PENSION")
    private String townPension;//参加城镇职工基本养老保险人数（人）
    @Column(name = "RURAL_PENSION")
    private String ruralPension;//参加城乡居民基本养老保险人数（人）
    /**
     * 村级道路通畅
     */
    @Column(name = "ASPHALT")
    private String asphalt;//到乡镇是否通沥青（水泥）路
    @Column(name = "BUS")
    private String bus;//是否通客运班车
    /**
     * 饮水安全
     */
    @Column(name = "SECURITY")
    private String security;//未实现饮水安全户数（户）
    @Column(name = "DIFFICULTY")
    private String difficulty;//饮水困难户数（户）
    /**
     * 农村电力保障
     */
    @Column(name = "LIFA")
    private String life;//未通生活用电的自然村数（个）
    @Column(name = "ELECTRIC")
    private String electric;//未通生产用电的自然村数（个）
    @Column(name = "LIFE_NUMBER")
    private String lifeNumber;//未通生活用电户数（户）
    @Column(name = "OPEN_NUMBER")
    private String openNumber;//已通生产用电自然村（20户以上）数（个）
    /**
     * 危房改造
     */
    @Column(name = "DANGER")
    private String danger;//危房户数（户）
    /**
     * 特色产业增收
     */
    @Column(name = "COOPERATIVE")
    private String cooperative;//农民专业合作社个数（个
    @Column(name = "MAJOR")
    private String major;//参加农民专业合作社贫困户数（户）
    /**
     * 乡村旅游
     */
    @Column(name = "TOURISM")
    private String tourism;//开展乡村旅游的户数（户
    @Column(name = "JOB")
    private String job;//乡村旅游从业人员数（人）
    @Column(name = "FARM")
    private String farm;//经营农家乐的户数（户）
    @Column(name = "FARM_INCOME")
    private String farmIncome;//经营农家乐户数年均收入（元）
    /**
     * 卫生和计划生育
     */
    @Column(name = "HYGIENE")
    private String hygiene;//卫生室个数（个）
    @Column(name = "TOILET")
    private String toilet;//公共卫生厕所个数（个）
    @Column(name = "DOCTOR")
    private String doctor;//执业（助理）医师数（人）
    @Column(name = "GARBAGE")
    private String garbage;//垃圾集中堆放点个数（个）
    /**
     * 文化建设
     */
    @Column(name = "CULTURE")
    private String culture;//行政村文化（图书）室个数（个）
    /**
     * 贫困村信息化
     */
    @Column(name = "BROAD_BAND")
    private String broadband;//通宽带户数（户）
    @Column(name = "INTERNET")
    private String internet;//能用手机上网的户数（户）
    @Column(name = "VILLAGES")
    private String villages;//已通电自然村（20户以上）中通宽带的村数
    @Column(name = "SCHOOL")
    private String school;//通宽带的村小学个数（个
    @Column(name = "PERSONNEL")
    private String personnel;//行政村信息员（人）   
    /**
     * 其他
     */
    @Column(name = "IS_DEL")
    private String isDel;//删除   默认0 1为删除
    @Column(name = "ADD_TIME")
    private Date addTime;//添加时间
    @Column(name = "UP_TIME")
    private Date upTime;//修改时间
    @Column(name = "TYPE")
    private String type;  //是否贫困村，0:贫困村    1：自然村 
    @Column(name = "TUO_TIME")
    private Date tuoTime;//出列时间
    @Column(name = "FAN_TIME")
    private Date fanTime;//取消出列时间
    @Column(name = "STATUS")
    private String status; //状态：默认0为新增贫困村  1为出列贫困村

    @Column(name = "HELP_PERUNIT")
    private Long helpPerunit;//外键

    @OneToOne(cascade = CascadeType.PERSIST, fetch = FetchType.EAGER)
    @JoinColumn(name = "AREA_ID")
    @NotFound(action=NotFoundAction.IGNORE)
    private Area area;//所在村
    
    @Column(name = "ANNUAL")
    private String annual;//年度


    public Long getId() {
        return id;
    }

    public String getCty() {
        return cty;
    }

    public String getCry() {
        return cry;
    }

    public String getFpeople() {
        return fpeople;
    }

    public String getPost() {
        return post;
    }

    public String getContact() {
        return contact;
    }

    public String getNature() {
        return nature;
    }

    public String getDevelopment() {
        return development;
    }

    public String getTerrain() {
        return terrain;
    }

    public String getParty() {
        return party;
    }

    public String getOfficer() {
        return officer;
    }

    public String getCuedLand() {
        return cuedLand;
    }

    public String getIrrigation() {
        return irrigation;
    }

    public String getWoodLand() {
        return woodLand;
    }

    public String getFarmLand() {
        return farmLand;
    }

    public String getFruit() {
        return fruit;
    }

    public String getForageGrass() {
        return forageGrass;
    }

    public String getWaters() {
        return waters;
    }

    public String getTotal() {
        return total;
    }

    public String getNatlNumber() {
        return natlNumber;
    }

    public String getLowHouse() {
        return lowHouse;
    }

    public String getFiveHouse() {
        return fiveHouse;
    }

    public String getTotalNumber() {
        return totalNumber;
    }

    public String getLowNumber() {
        return lowNumber;
    }

    public String getFiveNumber() {
        return fiveNumber;
    }

    public String getLessNumber() {
        return lessNumber;
    }

    public String getWomanNumber() {
        return womanNumber;
    }

    public String getRemnantNumber() {
        return remnantNumber;
    }

    public String getLabourNumber() {
        return labourNumber;
    }

    public String getGooutNumber() {
        return gooutNumber;
    }

    public String getFarmer() {
        return farmer;
    }

    public String getCollective() {
        return collective;
    }

    public String getMedical() {
        return medical;
    }

    public String getTownPension() {
        return townPension;
    }

    public String getRuralPension() {
        return ruralPension;
    }

    public String getAsphalt() {
        return asphalt;
    }

    public String getBus() {
        return bus;
    }

    public String getSecurity() {
        return security;
    }

    public String getDifficulty() {
        return difficulty;
    }

    public String getLife() {
        return life;
    }

    public String getElectric() {
        return electric;
    }

    public String getLifeNumber() {
        return lifeNumber;
    }

    public String getOpenNumber() {
        return openNumber;
    }

    public String getDanger() {
        return danger;
    }

    public String getCooperative() {
        return cooperative;
    }

    public String getMajor() {
        return major;
    }

    public String getTourism() {
        return tourism;
    }

    public String getJob() {
        return job;
    }

    public String getFarm() {
        return farm;
    }

    public String getFarmIncome() {
        return farmIncome;
    }

    public String getHygiene() {
        return hygiene;
    }

    public String getToilet() {
        return toilet;
    }

    public String getDoctor() {
        return doctor;
    }

    public String getGarbage() {
        return garbage;
    }

    public String getCulture() {
        return culture;
    }

    public String getBroadband() {
        return broadband;
    }

    public String getInternet() {
        return internet;
    }

    public String getVillages() {
        return villages;
    }

    public String getSchool() {
        return school;
    }

    public String getPersonnel() {
        return personnel;
    }

    public Date getAddTime() {
        return addTime;
    }

    public Date getUpTime() {
        return upTime;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setCty(String cty) {
        this.cty = cty;
    }

    public void setCry(String cry) {
        this.cry = cry;
    }

    public void setFpeople(String fpeople) {
        this.fpeople = fpeople;
    }

    public void setPost(String post) {
        this.post = post;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public void setNature(String nature) {
        this.nature = nature;
    }

    public void setDevelopment(String development) {
        this.development = development;
    }

    public void setTerrain(String terrain) {
        this.terrain = terrain;
    }

    public void setParty(String party) {
        this.party = party;
    }

    public void setOfficer(String officer) {
        this.officer = officer;
    }

    public void setCuedLand(String cuedLand) {
        this.cuedLand = cuedLand;
    }

    public void setIrrigation(String irrigation) {
        this.irrigation = irrigation;
    }

    public void setWoodLand(String woodLand) {
        this.woodLand = woodLand;
    }

    public void setFarmLand(String farmLand) {
        this.farmLand = farmLand;
    }

    public void setFruit(String fruit) {
        this.fruit = fruit;
    }

    public void setForageGrass(String forageGrass) {
        this.forageGrass = forageGrass;
    }

    public void setWaters(String waters) {
        this.waters = waters;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public void setNatlNumber(String natlNumber) {
        this.natlNumber = natlNumber;
    }

    public void setLowHouse(String lowHouse) {
        this.lowHouse = lowHouse;
    }

    public void setFiveHouse(String fiveHouse) {
        this.fiveHouse = fiveHouse;
    }

    public void setTotalNumber(String totalNumber) {
        this.totalNumber = totalNumber;
    }

    public void setLowNumber(String lowNumber) {
        this.lowNumber = lowNumber;
    }

    public void setFiveNumber(String fiveNumber) {
        this.fiveNumber = fiveNumber;
    }

    public void setLessNumber(String lessNumber) {
        this.lessNumber = lessNumber;
    }

    public void setWomanNumber(String womanNumber) {
        this.womanNumber = womanNumber;
    }

    public void setRemnantNumber(String remnantNumber) {
        this.remnantNumber = remnantNumber;
    }

    public void setLabourNumber(String labourNumber) {
        this.labourNumber = labourNumber;
    }

    public void setGooutNumber(String gooutNumber) {
        this.gooutNumber = gooutNumber;
    }

    public void setFarmer(String farmer) {
        this.farmer = farmer;
    }

    public void setCollective(String collective) {
        this.collective = collective;
    }

    public void setMedical(String medical) {
        this.medical = medical;
    }

    public void setTownPension(String townPension) {
        this.townPension = townPension;
    }

    public void setRuralPension(String ruralPension) {
        this.ruralPension = ruralPension;
    }

    public void setAsphalt(String asphalt) {
        this.asphalt = asphalt;
    }

    public void setBus(String bus) {
        this.bus = bus;
    }

    public void setSecurity(String security) {
        this.security = security;
    }

    public void setDifficulty(String difficulty) {
        this.difficulty = difficulty;
    }

    public void setLife(String life) {
        this.life = life;
    }

    public void setElectric(String electric) {
        this.electric = electric;
    }

    public void setLifeNumber(String lifeNumber) {
        this.lifeNumber = lifeNumber;
    }

    public void setOpenNumber(String openNumber) {
        this.openNumber = openNumber;
    }

    public void setDanger(String danger) {
        this.danger = danger;
    }

    public void setCooperative(String cooperative) {
        this.cooperative = cooperative;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public void setTourism(String tourism) {
        this.tourism = tourism;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public void setFarm(String farm) {
        this.farm = farm;
    }

    public void setFarmIncome(String farmIncome) {
        this.farmIncome = farmIncome;
    }

    public void setHygiene(String hygiene) {
        this.hygiene = hygiene;
    }

    public void setToilet(String toilet) {
        this.toilet = toilet;
    }

    public void setDoctor(String doctor) {
        this.doctor = doctor;
    }

    public void setGarbage(String garbage) {
        this.garbage = garbage;
    }

    public void setCulture(String culture) {
        this.culture = culture;
    }

    public void setBroadband(String broadband) {
        this.broadband = broadband;
    }

    public void setInternet(String internet) {
        this.internet = internet;
    }

    public void setVillages(String villages) {
        this.villages = villages;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public void setPersonnel(String personnel) {
        this.personnel = personnel;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public void setUpTime(Date upTime) {
        this.upTime = upTime;
    }

    public String getNaturals() {
        return naturals;
    }

    public void setNaturals(String naturals) {
        this.naturals = naturals;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getTuoTime() {
        return tuoTime;
    }

    public Date getFanTime() {
        return fanTime;
    }

    public void setTuoTime(Date tuoTime) {
        this.tuoTime = tuoTime;
    }

    public void setFanTime(Date fanTime) {
        this.fanTime = fanTime;
    }

    public String getIsDel() {
        return isDel;
    }

    public void setIsDel(String isDel) {
        this.isDel = isDel;
    }


    public Long getHelpPerunit() {
        return helpPerunit;
    }

    public void setHelpPerunit(Long helpPerunit) {
        this.helpPerunit = helpPerunit;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

    public String getGroupNumber() {
        return groupNumber;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setGroupNumber(String groupNumber) {
        this.groupNumber = groupNumber;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getVillage() {
        return village;
    }

    public void setVillage(String village) {
        this.village = village;
    }

    public String getPoor() {
        return poor;
    }

    public void setPoor(String poor) {
        this.poor = poor;
    }

    public String getPoorNumber() {
        return poorNumber;
    }

    public void setPoorNumber(String poorNumber) {
        this.poorNumber = poorNumber;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }

    public String getRoad() {
        return road;
    }

    public void setRoad(String road) {
        this.road = road;
    }

    public String getElectrics() {
        return electrics;
    }

    public void setElectrics(String electrics) {
        this.electrics = electrics;
    }

    public String getLifes() {
        return lifes;
    }

    public void setLifes(String lifes) {
        this.lifes = lifes;
    }

    public String getBroadbands() {
        return broadbands;
    }

    public void setBroadbands(String broadbands) {
        this.broadbands = broadbands;
    }

    public Area getArea() {
        return area;
    }

    public void setArea(Area area) {
        this.area = area;
    }

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getAnnual() {
		return annual;
	}

	public void setAnnual(String annual) {
		this.annual = annual;
	}
	
}
